const mongoose = require('./db')
const Schema = mongoose.Schema
const TokenSchema = new Schema({
    // 用户名
    username: {
        type: String,
        required: true
    },
    token: {
        type: String,
        required: true
    },
    timeMills: {
        type: String,
        required: true
    }
})

module.exports = TokenModel = mongoose.model('tokens', TokenSchema)
